package com.hx.hospital.service;


import com.hx.common.result.PageResult;
import com.hx.hospital.pojo.Department;


import java.util.*;

/**
 * department业务逻辑层
 */
public interface DepartmentService {

    public List<Department> findDepartmentAll();

    public List<Department> findDepartmentById(Long id);



    public List<Department> findAll();


    public PageResult<Department> findPage(int page, int size);


    public List<Department> findList(Map<String, Object> searchMap);


    public PageResult<Department> findPage(Map<String, Object> searchMap, int page, int size);


    public Department findById(Long id);

    public void add(Department department);


    public void update(Department department);


    public void delete(Long id);

}
